package com.smilive.start.netty.rpc.peotocol;

import io.netty.handler.codec.LengthFieldBasedFrameDecoder;

/**
 * @program: netty
 * @Date: 2022-01-06 11:45
 * @Author: smilive
 * @Description:
 */
public class RpcProtocolFrameDecoder extends LengthFieldBasedFrameDecoder {

    public RpcProtocolFrameDecoder() {
        this(1024*1024,12,4,0,0);
    }

    public RpcProtocolFrameDecoder(int maxFrameLength, int lengthFieldOffset, int lengthFieldLength, int lengthAdjustment, int initialBytesToStrip) {
        super(maxFrameLength, lengthFieldOffset, lengthFieldLength, lengthAdjustment, initialBytesToStrip);
    }
}
